package net.sudot.chess.business.dao;

import net.sudot.chess.business.model.BaseEntity;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * DAO单元测试配置
 *
 * @author tangjialin on 2018-11-02.
 */
//@TestPropertySource配在单元测试启动类中才有效
//@TestPropertySource("classpath:application-dao.properties")
@PropertySource("classpath:application-dao.properties")
@EnableTransactionManagement
@EntityScan(basePackageClasses = BaseEntity.class)
public class DaoTestConfig {
}
